<?php
namespace app\admin\model;
use think\Model;

class Course extends Model
{
    protected $table='cx_course';
    protected $pk='id';

    //本模型开启时间自动写入
    protected $autoWriteTimestamp = true;
}